Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Flask Analyzer (method, param, header) #78

Closed
wants to merge 10 commits into from

Conversation

ksg97031
Copy link
Member

@ksg97031 ksg97031 commented Sep 10, 2023

Updates

  1. Adding support for HTTP methods, parameters, and headers to the Flask analyzer.
  2. Refactoring the code in the Django analyzer.

Notes (Flask, Django)

Common Python web frameworks typically define the method and parameters at the complex code level.

I've implemented a feature that retrieves method, parameter, and header information, but it relies on strong assumptions. As a result, there is a possibility of both false positives and false negatives.

At present, achieving a perfect solution is challenging, and I am of the opinion that modularizing Python's commonly used small lexer and parser is the most effective approach to minimize bugs in the future.

@ksg97031 ksg97031 closed this Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants